package lg.minecraft.plugin.testeconomy.command;

import lg.minecraft.plugin.testeconomy.config.MessageConfig;
import org.bukkit.command.CommandSender;

/**
 * @author langle__
 * @version 1.0
 */
public class HelpCommand extends SubCommand {

    @Override
    public String getName() {
        return "help";
    }

    @Override
    public void onCommand(CommandSender sender, String[] args) {
        for (String help : MessageConfig.getHELP_ARRAY()) {
            sender.sendMessage(help);
        }
    }

}
